package cn.powertime.evaluation.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class RespTopicListVo implements Serializable {

    @ApiModelProperty(value = "习题ID", position = 1)
    private Long id;

    @ApiModelProperty(value = "习题类型:单选题，2:多选题，3:判断题，4:问答题", position = 2)
    private Integer type;

    @ApiModelProperty(value = "习题题干", position = 3)
    private String topicStem;

    @ApiModelProperty(value = "选项A", position = 4)
    private String optionA;

    @ApiModelProperty(value = "选项B", position = 5)
    private String optionB;

    @ApiModelProperty(value = "选项C", position = 6)
    private String optionC;

    @ApiModelProperty(value = "选项D", position = 7)
    private String optionD;

    @ApiModelProperty(value = "习题分值", position = 8)
    private Integer score;

    @ApiModelProperty(value = "习题答案", position = 9)
    @JsonIgnore
    private String topicAnswer;

    @ApiModelProperty(value = "用户答案", position = 10)
    private String userAnswer;

    @ApiModelProperty(value = "是否收藏，1:收藏，0:未收藏", position = 11)
    private String collect;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTopicStem() {
        return topicStem;
    }

    public void setTopicStem(String topicStem) {
        this.topicStem = topicStem;
    }

    public String getOptionA() {
        return optionA;
    }

    public void setOptionA(String optionA) {
        this.optionA = optionA;
    }

    public String getOptionB() {
        return optionB;
    }

    public void setOptionB(String optionB) {
        this.optionB = optionB;
    }

    public String getOptionC() {
        return optionC;
    }

    public void setOptionC(String optionC) {
        this.optionC = optionC;
    }

    public String getOptionD() {
        return optionD;
    }

    public void setOptionD(String optionD) {
        this.optionD = optionD;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getTopicAnswer() {
        return topicAnswer;
    }

    public void setTopicAnswer(String topicAnswer) {
        this.topicAnswer = topicAnswer;
    }

    public String getUserAnswer() {
        return userAnswer;
    }

    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }

    public String getCollect() {
        return collect;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }
}
